﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class Master_Page_NovaMaster : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lbusuario.Text = HttpContext.Current.User.Identity.Name.ToString();
        lbip.Text = Request.UserHostAddress.ToString();
    }
    protected void lkb_sair_Click(object sender, EventArgs e)
    {
        FormsAuthentication.SignOut();
        Response.Redirect("~/login/");
    }
}
